﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Underrun.Helpers
{
    public class SingleTon
    {
        private SingleTon() { }
        private static SingleTon _objSingle = new SingleTon();

        public static SingleTon ObjSingle
        {
            get { return _objSingle; }
        }

        public DateTime LastUnderrun { get; set; }

        public int Temp
        {
            get { return _temp++; }
            set { _temp = value; }
        }

        private int _temp2 = 1000;
        public int Temp2
        {
            get { return _temp2++; }
            set { _temp2 = value; }
        }

        private int _temp;

        public Task Task;
    }
}
